package top.xqf.homework.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TbXqfGoods implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer gid;
    private String gname;
    private String gsort;
    private BigDecimal gprice;
    private BigDecimal gbuying;
    private Date lastupdate;

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGsort() {
        return gsort;
    }

    public void setGsort(String gsort) {
        this.gsort = gsort;
    }

    public BigDecimal getGprice() {
        return gprice;
    }

    public void setGprice(BigDecimal gprice) {
        this.gprice = gprice;
    }

    public BigDecimal getGbuying() {
        return gbuying;
    }

    public void setGbuying(BigDecimal gbuying) {
        this.gbuying = gbuying;
    }

    public Date getLastupdate() {
        return lastupdate;
    }

    public void setLastupdate(Date lastupdate) {
        this.lastupdate = lastupdate;
    }

    @Override
    public String toString() {
        return "TbXqfGoods{" +
                "gid=" + gid +
                ", gname='" + gname + '\'' +
                ", gsort='" + gsort + '\'' +
                ", gprice=" + gprice +
                ", gbuying=" + gbuying +
                ", lastupdate=" + lastupdate +
                '}';
    }
}
